package com.inews.business.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;


/**
 * TblBaseResource entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="tbl_base_resource")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class TblBaseResource implements java.io.Serializable {

	// Fields
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	private String resourceId;
	private String fatherId;
	private String resourceName;
	private String sysCode;
	private String resourceUrl;
	private String orderNum;
	private String showType;
	private String remarks;
	private String createUserId;
	private String createTime;
	private String lastUpdUserId;
	private String lastUpdDes;
	private String lastUpdTime;
	private String reserved1;
	private String reserved2;

	// Constructors

	/** default constructor */
	public TblBaseResource() {
	}

	/** minimal constructor */
	public TblBaseResource(Long id) {
		this.id = id;
	}

	/** full constructor */
	public TblBaseResource(Long id, String resourceId, String fatherId,
			String resourceName, String sysCode, String resourceUrl,
			String orderNum, String showType, String remarks,
			String createUserId, String createTime, String lastUpdUserId,
			String lastUpdDes, String lastUpdTime, String reserved1,
			String reserved2) {
		this.id = id;
		this.resourceId = resourceId;
		this.fatherId = fatherId;
		this.resourceName = resourceName;
		this.sysCode = sysCode;
		this.resourceUrl = resourceUrl;
		this.orderNum = orderNum;
		this.showType = showType;
		this.remarks = remarks;
		this.createUserId = createUserId;
		this.createTime = createTime;
		this.lastUpdUserId = lastUpdUserId;
		this.lastUpdDes = lastUpdDes;
		this.lastUpdTime = lastUpdTime;
		this.reserved1 = reserved1;
		this.reserved2 = reserved2;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getResourceId() {
		return resourceId;
	}

	public void setResourceId(String resourceId) {
		this.resourceId = resourceId;
	}

	public String getFatherId() {
		return fatherId;
	}

	public void setFatherId(String fatherId) {
		this.fatherId = fatherId;
	}

	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public String getSysCode() {
		return sysCode;
	}

	public void setSysCode(String sysCode) {
		this.sysCode = sysCode;
	}

	public String getResourceUrl() {
		return resourceUrl;
	}

	public void setResourceUrl(String resourceUrl) {
		this.resourceUrl = resourceUrl;
	}

	public String getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}

	public String getShowType() {
		return showType;
	}

	public void setShowType(String showType) {
		this.showType = showType;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getLastUpdUserId() {
		return lastUpdUserId;
	}

	public void setLastUpdUserId(String lastUpdUserId) {
		this.lastUpdUserId = lastUpdUserId;
	}

	public String getLastUpdDes() {
		return lastUpdDes;
	}

	public void setLastUpdDes(String lastUpdDes) {
		this.lastUpdDes = lastUpdDes;
	}

	public String getLastUpdTime() {
		return lastUpdTime;
	}

	public void setLastUpdTime(String lastUpdTime) {
		this.lastUpdTime = lastUpdTime;
	}

	public String getReserved1() {
		return reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

}